import axios from 'axios';
axios.interceptors.response.use(
    async res => {
        return res.data;
    },
    async err => {
        return err;
    }
);

export default axios;